html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-size: 10px;
    background: url(../images/beige_paper.png) left top repeat;
}

* {
    box-sizing: border-box;
    outline: none;
}

:root {
    --theme-color: #367DFF;
    --theme-match-color: #0092FF;
}

#container {
    width: 1170px;
    height: calc(100% - 1rem);
    margin: 0 auto;
    overflow-y: auto;
}

#footer {
    height: 1rem;
    line-height: 1rem;
    margin: 0 auto;
    text-align: center;
}

#nav {
    position: fixed;
    top: 15%;
    right: 0;
    width: 2rem;
    height: 9rem;
    background: var(--theme-color);
    cursor: pointer;
    border-radius: .5rem 0 0 .5rem;
}

#nav:hover {
    background-image: linear-gradient(135deg, #5433FF 20%, #20BDFF 70%, #A5FECB 100%);
}

#nav:hover .go_back {
    text-shadow: 2px 1px 4px #FFF;
}

#nav .go_back {
    font-size: 1.1rem;
    color: #FFF;
    border-radius: .5rem 0 0 .5rem;
    text-align: center;
    width: 100%;
    display: block;
    height: 6.4rem;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#footer a.link {
    color: #000;
    text-decoration: none;
}

#footer a.link:hover {
    color: red;
}

#container::-webkit-scrollbar {
    display: none;
}

#container .tool_item {
    width: 100%;
    float: left;
}

.tool_item .item_content {
    width: 100%;
}

.tool_item .item_content .tool {
    width: 33.3333333%;
    height: 6rem;
    padding: .3rem;
    overflow: hidden;
    user-select: none;
    float: left;
}

.tool_item .item_content .tool .tool_inner {
    display: inline-block;
    background: #FFF;
    cursor: pointer;
    position: relative;
}

.tool_item .item_content .tool:hover .tool_inner {
    background: #000;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.tool_item .item_content .tool:hover .tool_icon .iconfont {
    color: var(--theme-match-color);
    font-size: 3.5rem;
}

.tool_item .item_content .tool:hover .tool_content .name {
    color: #FFF;
    text-shadow: 1px 2px 4px #FFF;
    font-size: 1.2rem;
}

.tool_item .item_content .tool:hover .tool_content .info {
    color: var(--theme-color);
    font-size: 1.2rem;
}

.tool_item .item_content .tool:hover .border {
    opacity: 1;
    left: calc(100% + 1rem);
}

.tool_item .item_content .tool:hover .tool_content {
    -webkit-animation-name: shake;
    -moz-animation-name: shake;
}

@-webkit-keyframes shake {
    0%, 100% {
        -webkit-transform: translateX(0);
    }
    20%, 60% {
        -webkit-transform: translateX(-1rem);
    }
    40%, 80% {
        -webkit-transform: translateX(1rem);
    }
}

@-moz-keyframes shake {
    0%, 100% {
        -moz-transform: translateX(0);
    }
    20%, 60% {
        -moz-transform: translateX(-1rem);
    }
    40%, 80% {
        -moz-transform: translateX(1rem);
    }
}

.tool_item .item_content .tool .border {
    width: 1rem;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: var(--theme-color);
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
}

.tool_item .item_content .tool .tool_icon {
    width: 5.4rem;
    height: 5.4rem;
    float: left;
    margin: 0 1rem;
    text-align: center;
    line-height: 5.4rem;
}

.tool_item .item_content .tool .tool_icon .iconfont {
    font-size: 3rem;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    -ms-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
}

.tool_item .item_content .tool .tool_content .name,
.tool_item .item_content .tool .tool_content .info {
    width: 100%;
    height: 50%;
    float: left;
    text-align: left;
}

.tool_item .item_content .tool .tool_content .name {
    vertical-align: bottom;
    font-size: 1.6rem;
    line-height: 3.5rem;
    font-family: "Microsoft YaHei";
    color: #333;
    text-shadow: 1px 2px 4px #999;
    font-weight: normal;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    -ms-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
}

.tool_item .item_content .tool .tool_content .info {
    vertical-align: top;
    font-family: Verdana;
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    -ms-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
}

.tool_item .item_content .tool .tool_content {
    float: left;
    width: calc(100% - 7.4rem);
    height: 5.4rem;
    -webkit-animation: .5s .2s ease both;
    -moz-animation: 1s .2s ease both;
}

.item_title {
    display: block;
    width: calc(100% - .6rem);
    border-left: 10px solid #367dff;
    font-size: 1.5rem;
    background: #FFF;
    height: 3rem;
    line-height: 3rem;
    text-indent: .5em;
    margin: .3rem;
    user-select: none;
}

/*七色标题*/
#container .tool_item:nth-child(7n+1) .item_title {
    border-color: #367dff;
}

#container .tool_item:nth-child(7n+2) .item_title {
    border-color: #F19D01;
}

#container .tool_item:nth-child(7n+3) .item_title {
    border-color: #43A102;
}

#container .tool_item:nth-child(7n+4) .item_title {
    border-color: #712704;
}

#container .tool_item:nth-child(7n+5) .item_title {
    border-color: #A2B700;
}

#container .tool_item:nth-child(7n+6) .item_title {
    border-color: #FF981F;
}

#container .tool_item:nth-child(7n+7) .item_title {
    border-color: #00CCFF;
}